import 'package:json_annotation/json_annotation.dart';

part 'bussdetail_bean.g.dart';

@JsonSerializable()
class BussdetailBean {
  String licnum;
  String reason;
  String creditcode;
  String checkuser;
  String checktime;
  String contact;
  String legal;
  String pubNumber;
  double lat;
  double lng;
  String level;
  String postcode;
  String shortname;
  String taxregcer;
  String busiscope;
  String phone;
  String district;
  String organiz;
  String name;
  String position;
  String isvalid;
  String licetime;
  String ischeck;
  String ordnum;
  String ability;
  String busistatus;
  String notice;
  String briefintroduct;
  String createtime;
  String branchnumber;
  String address;
  String districtName;
  String business;
  String star;
  String platnum;
  String pubNumFile;
  String serprinum;
  String service;
  String schPhone;
  String thumbnailid;
  String describe;
  String updatetime;
  String inscode;
  String dcode;
  int thcoachnum;
  int pracoachnum;
  int tracarnum;
  int dayendstucount;
  int yearendstucount;
  int classroom;
  int thclassroom;
  int coacount;
  int safmngnum;
  int grasupvnum;
  int vuecount;
  int yearaddstucount;
  int coachnumber;
  int photo;
  int praticefield;
  int dayaddstucount;
  int organiztype;

  BussdetailBean(
      {this.licnum,
      this.reason,
      this.creditcode,
      this.checkuser,
      this.checktime,
      this.contact,
      this.legal,
      this.pubNumber,
      this.lat,
      this.lng,
      this.level,
      this.postcode,
      this.shortname,
      this.taxregcer,
      this.busiscope,
      this.phone,
      this.district,
      this.organiz,
      this.name,
      this.position,
      this.isvalid,
      this.licetime,
      this.ischeck,
      this.ordnum,
      this.ability,
      this.busistatus,
      this.notice,
      this.briefintroduct,
      this.createtime,
      this.branchnumber,
      this.address,
      this.districtName,
      this.business,
      this.star,
      this.platnum,
      this.pubNumFile,
      this.serprinum,
      this.service,
      this.schPhone,
      this.thumbnailid,
      this.describe,
      this.updatetime,
      this.inscode,
      this.dcode,
      this.thcoachnum,
      this.pracoachnum,
      this.tracarnum,
      this.dayendstucount,
      this.yearendstucount,
      this.classroom,
      this.thclassroom,
      this.coacount,
      this.safmngnum,
      this.grasupvnum,
      this.vuecount,
      this.yearaddstucount,
      this.coachnumber,
      this.photo,
      this.praticefield,
      this.dayaddstucount,
      this.organiztype});

  BussdetailBean.fromJson(Map<String, dynamic> json) {
    this.licnum = json['licnum'];
    this.reason = json['reason'];
    this.creditcode = json['creditcode'];
    this.checkuser = json['checkuser'];
    this.checktime = json['checktime'];
    this.contact = json['contact'];
    this.legal = json['legal'];
    this.pubNumber = json['pubNumber'];
    this.lat = json['lat'];
    this.lng = json['lng'];
    this.level = json['level'];
    this.postcode = json['postcode'];
    this.shortname = json['shortname'];
    this.taxregcer = json['taxregcer'];
    this.busiscope = json['busiscope'];
    this.phone = json['phone'];
    this.district = json['district'];
    this.organiz = json['organiz'];
    this.name = json['name'];
    this.position = json['position'];
    this.isvalid = json['isvalid'];
    this.licetime = json['licetime'];
    this.ischeck = json['ischeck'];
    this.ordnum = json['ordnum'];
    this.ability = json['ability'];
    this.busistatus = json['busistatus'];
    this.notice = json['notice'];
    this.briefintroduct = json['briefintroduct'];
    this.createtime = json['createtime'];
    this.branchnumber = json['branchnumber'];
    this.address = json['address'];
    this.districtName = json['districtName'];
    this.business = json['business'];
    this.star = json['star'];
    this.platnum = json['platnum'];
    this.pubNumFile = json['pubNumFile'];
    this.serprinum = json['serprinum'];
    this.service = json['service'];
    this.schPhone = json['schPhone'];
    this.thumbnailid = json['thumbnailid'];
    this.describe = json['describe'];
    this.updatetime = json['updatetime'];
    this.inscode = json['inscode'];
    this.dcode = json['dcode'];
    this.thcoachnum = json['thcoachnum'];
    this.pracoachnum = json['pracoachnum'];
    this.tracarnum = json['tracarnum'];
    this.dayendstucount = json['dayendstucount'];
    this.yearendstucount = json['yearendstucount'];
    this.classroom = json['classroom'];
    this.thclassroom = json['thclassroom'];
    this.coacount = json['coacount'];
    this.safmngnum = json['safmngnum'];
    this.grasupvnum = json['grasupvnum'];
    this.vuecount = json['vuecount'];
    this.yearaddstucount = json['yearaddstucount'];
    this.coachnumber = json['coachnumber'];
    this.photo = json['photo'];
    this.praticefield = json['praticefield'];
    this.dayaddstucount = json['dayaddstucount'];
    this.organiztype = json['organiztype'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['licnum'] = this.licnum;
    data['reason'] = this.reason;
    data['creditcode'] = this.creditcode;
    data['checkuser'] = this.checkuser;
    data['checktime'] = this.checktime;
    data['contact'] = this.contact;
    data['legal'] = this.legal;
    data['pubNumber'] = this.pubNumber;
    data['lat'] = this.lat;
    data['lng'] = this.lng;
    data['level'] = this.level;
    data['postcode'] = this.postcode;
    data['shortname'] = this.shortname;
    data['taxregcer'] = this.taxregcer;
    data['busiscope'] = this.busiscope;
    data['phone'] = this.phone;
    data['district'] = this.district;
    data['organiz'] = this.organiz;
    data['name'] = this.name;
    data['position'] = this.position;
    data['isvalid'] = this.isvalid;
    data['licetime'] = this.licetime;
    data['ischeck'] = this.ischeck;
    data['ordnum'] = this.ordnum;
    data['ability'] = this.ability;
    data['busistatus'] = this.busistatus;
    data['notice'] = this.notice;
    data['briefintroduct'] = this.briefintroduct;
    data['createtime'] = this.createtime;
    data['branchnumber'] = this.branchnumber;
    data['address'] = this.address;
    data['districtName'] = this.districtName;
    data['business'] = this.business;
    data['star'] = this.star;
    data['platnum'] = this.platnum;
    data['pubNumFile'] = this.pubNumFile;
    data['serprinum'] = this.serprinum;
    data['service'] = this.service;
    data['schPhone'] = this.schPhone;
    data['thumbnailid'] = this.thumbnailid;
    data['describe'] = this.describe;
    data['updatetime'] = this.updatetime;
    data['inscode'] = this.inscode;
    data['dcode'] = this.dcode;
    data['thcoachnum'] = this.thcoachnum;
    data['pracoachnum'] = this.pracoachnum;
    data['tracarnum'] = this.tracarnum;
    data['dayendstucount'] = this.dayendstucount;
    data['yearendstucount'] = this.yearendstucount;
    data['classroom'] = this.classroom;
    data['thclassroom'] = this.thclassroom;
    data['coacount'] = this.coacount;
    data['safmngnum'] = this.safmngnum;
    data['grasupvnum'] = this.grasupvnum;
    data['vuecount'] = this.vuecount;
    data['yearaddstucount'] = this.yearaddstucount;
    data['coachnumber'] = this.coachnumber;
    data['photo'] = this.photo;
    data['praticefield'] = this.praticefield;
    data['dayaddstucount'] = this.dayaddstucount;
    data['organiztype'] = this.organiztype;
    return data;
  }
}
